PATH
WebObjects 4.0 Documentation >
WebObjects Tools and Techniques
Table of Contents
Previous Section
Dynamic and Static Inspectors
Most dynamic elements have static HTML counterparts (with the exception of abstract dynamic elements, such as: WOString, WORepetition, WOConditional, and WOCustom.) The Inspector for these elements has two states:
This example shows the Inspector for a dynamic text area element. It displays the bindable attributes for this element. If you select Static Inspector from the pop-up list, the Text Area Inspector appears. This is the same Inspector you would see for a static text area element (<TEXTAREA>) and allows you to set its HTML attributes (such as COLS or ROWS).
Note: You can also set the HTML attributes using the Dynamic Inspector. The Static Inspector is provided for convenience only.
 (September 1999)(Disk 2).iso/Technical Publications/webobjects/System/Documentation/Developer/WebObjects/WOTools/DynamicElements41.gif)
To switch back to the WOText Inspector, select Dynamic Inspector from the pop-up list.
In addition, you can convert any dynamic element into its static counterpart, or vice versa:
The following table shows the dynamic counterpart for each static element.
If you convert a static element to its dynamic counterpart by clicking Make Dynamic, and there is no direct counterpart, the element becomes a generic WebObject whose element name is the HTML tag for the static element (see "Generic WebObjects"). In this figure, a list element (<UL>) has been converted to a generic WebObject element.
 (September 1999)(Disk 2).iso/Technical Publications/webobjects/System/Documentation/Developer/WebObjects/WOTools/DynamicElements42.gif)
Table of Contents
Next Section